﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<%
    if (Request.IsAuthenticated) {
%>
        Bienvenido <b><%= Html.Encode(Page.User.Identity.Name) %></b>! |
        <%= Html.ActionLink("Cerrar Sesión", "CMCLogOff", "Account")%> |
        <%= Html.ActionLink("Mis Datos", "CMCDetails", "Account")%>
<%
    }
    else {
%> 
        <%= Html.ActionLink("Iniciar Sesión", "CMCLogOn", "Account")%>
<%
    }
%>
